<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>邀请码管理</title>
<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
</script>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl;?>/admincss/thickbox.css" rel="stylesheet" type="text/css" />
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/kindeditor-min.js"></script>
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/lang/zh_CN.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseUrl;?>/adminjs/jquery.pack.js" /></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseUrl;?>/js/meetcp.js" /></script>
<script>
var editor;
KindEditor.ready(function(K) {
        editor = K.create('#content', {
		uploadJson : '<?php echo $this->url ($this->baseUrl, "article", "upload", "", "admin");?>',
		fileManagerJson : '<?php echo $this->url ($this->baseUrl, "article", "filemanage", "", "admin");?>',
		allowFileManager : true,
		urlType:"domain"
        });
});

function dostype(obj)
{
	if (obj.value == 'range'){
		$('#s_range').show();
	}else{
		$('#s_range').hide();
	}
}
</script>
</head>
<body>
<table style="margin:auto;width:800px;" align="center" border="1" class="tableA" >
    <tr>
      <td colspan="2" align="center"><?php echo $this->content['title'];?></td>
    </tr>
<?php 
if ($this->content['message'] == 'ok'){
	$message = '<font color="green">ok</font>';
}else{
	$message = '<font color="red">'.$this->content['message'].'</font>';
}

$sendargs = unserialize($this->content['sendargs']);
echo <<<EOT
    <tr>
      <td>收件人：</td>
      <td>{$this->content['toemail']}</td>
    </tr>    
    <tr>
      <td>发送时间：</td>
      <td>{$this->content['sendtime']}</td>
    </tr>
        <tr>
      <td>返回值：</td>
      <td>{$message}</td>
    </tr>
    <tr>
      <td>标题：</td>
      <td>{$this->content['title']}</td>
    </tr>
        <tr>
      <td>内容：</td>
      <td style="word-break: break-all;">{$this->content['content']}</td>
    </tr>
    <tr>
      <td>SMTP服务器：</td>
      <td>{$sendargs['smtpserver']}</td>
    </tr>
        <tr>
      <td>SMTP账号：</td>
      <td>{$sendargs['email']}</td>
    </tr>
    <tr>
      <td>SMTP密码：</td>
      <td>******</td>
    </tr>
    <tr>
      <td>SMTP发件人：</td>
      <td>{$sendargs['emailuser']}</td>
    </tr>
    <tr>
      <td colspan="2" align="center"><a href="javascript:window.close();">关闭</a></td>
    </tr>
EOT;
?>
  </table>
</body>
</html>
